 <div class="kt-g1">
		<div class=" kt-right">
	   		<ul class="lst-tabs">
	   		   		<li id="icon-controllers" class="active"><a href="<?php echo $this->base.'/admin/ktcontrollers' ?>"><span class="icon"></span><?php __('controladores'); ?></a></li>	
	  		</ul>	  
		</div>
</div>
<div class="kt-md-content">	 
 <?php if (isset($configuration)){ ?>
<div class="kt-md-configuracion">
	 	
	 	<div class="bd lst-form">
		 	  <table>
		 	  <tr>
			 	  <td> <p>  <strong> <?php __('configuration_name') ?> </strong></p>
			 	       <p> <?php echo $configuration["name"] ?></p>
			 	  </td>     
			 	  <td> 
			 	    <p> <strong><?php __('configuration_directory') ?> </strong></p>
			 	    <p> <?php echo $configuration["directory"] ?></p>
			 	  </td>	 	  
		 	  </tr>	 	  
		 	  </table> 
		</div>
</div>
 <?php } ?>
 
 <?php if (!is_writable(CONTROLLERS)) { ?>					
		  		<div class="kt-md  configuration_error">
		  		<div class="bd">
						<p class="error_msg"> <?php  __('Your directory  is NOT writable.'); ?> 
				  				<?php  __('generation  will not work correctly'); ?>
				 		</p> 
				 </div>
			 	</div>
<?php	} ?>
	 <div class="kt-md">
		<div class="hd"> 
				<h2> <?php  __('controllers_title_gestion'); ?></h2>
		</div>
		
		<!-- div class="bd kt-md-group lst-form">
		<?php echo $form->create("Ktcontroller", array('action' => 'admin_index')); ?>
			<table>
			<tr class="form-field">
			<td><?php echo $form->label("selectedbd", "Selecciona otra modelo de base de datos:"); ?> </td>
			<td><?php echo $form->select("selectedbd", $dbConections,null, false);?> </td>
			</tr>			
			</table>
			<p class="submit"><?php echo $form->submit('ver'); ?></p> 
			<?php echo $form->end();?>
		</div-->
		
	</div>
	
	
	<?php if (isset($tables)){ ?>
	<div class="kt-md">
	
		<div class="hd">
			<h3> <?php __('title_tables') ?></h3>
		</div>
		
		<div class="bd">
		<?php if (isset($tables) && count($tables)>0 ) { ?>
			<table class="lst-info"> 
				<tr class="form-field">					
					<th> <?php __('table_name') ?></th>
				</tr>
				<?php foreach ($tables as $table) {?>
				<tr class="form-field">
					<td><?php echo $html->link($table, $ruta_admin."generate/".$configName."/". $table); ?></td>
				</tr>
				<?php } ?>
			</table>
			<?php } ?>
			<?php if (isset($tables_no_model) && count($tables_no_model) > 0 ) { ?>
			<br>			
			<table class="lst-info"> 
				<tr class="form-field">					
					<th> <?php __('tables_without_model') ?></th>
				</tr>
				
				<?php foreach ($tables_no_model as $table) {?>
				<tr class="form-field">
					<td><?php echo $table ?></td>
				</tr>
				<?php } ?>
				
			</table>	
			<?php } ?>		
		</div>
		<div class="ft"></div>
	</div>
	<?php } ?>
</div>